﻿<!DOCTYPE html>
<html>
<head>
    <title>@ViewBag.Title</title> 
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
    <script type="text/javascript" src="@Url.Content("~/Scripts/jquery.tablesorter.min.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Scripts/jquery.tablesorter.pager.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Scripts/jquery.dropDown.pack.js")"></script>
    <script type="text/javascript" src="@Url.Content("~/Scripts/ual.js")"></script>
</head>
<body>
    <div class="page">
        <div id="header">
            <div id="title">
                <h1>
                </h1>
            </div>
            <div id="logindisplay">
                &nbsp;
            </div>
            <div id="menucontainer">
                <ul id="nav">
                    <li><a href="#">profiles</a>
                        <div>
                            <ul>
                                <li>@Html.ActionLink("All", "Index", "Profiles")</li>
                                @foreach (var item in new UALSender.Web.DAL.UALSenderContext().Locations.Select(loc => loc.Name))
                                {
                                    <li>@Html.ActionLink(item, "Index", "Profiles", new { location = item }, null)</li>
                                }                                
                            </ul>
                        </div>
                    </li>
                    <li>@Html.ActionLink("Admin profiles", "Index", "AdminProfile")</li>
                    <li>@Html.ActionLink("Update database", "UpdateDatabase", "Profiles")</li>
                    <li>@Html.ActionLink("Blacklist", "Index", "Blacklist")</li>
                    <li>@Html.ActionLink("Settings", "Index", "Settings")</li>
                    <li>@Html.ActionLink("Locations", "Index", "Locations")</li>
                    <li>@Html.ActionLink("Log", "ViewLog", "Settings")</li>
                </ul>
            </div>
        </div>
        <div id="main">
            @RenderBody()
        </div>
        <div id="footer">
        </div>
    </div>
</body>
</html>
